type github.com/google/go-cmp/cmp.diffStats
30 uses
github.com/google/go-cmp/cmp (current package)
report_compare.go#L263: list.AppendEllipsis(diffStats{})
report_compare.go#L272: list.AppendEllipsis(diffStats{})
report_compare.go#L285: maxGroup := diffStats{Name: name}
report_compare.go#L409: func coalesceAdjacentRecords(name string, recs []reportRecord) (groups []diffStats) {
report_compare.go#L411: lastStats := func(i int) *diffStats {
report_compare.go#L413: groups = append(groups, diffStats{Name: name})
report_reflect.go#L198: list.AppendEllipsis(diffStats{})
report_reflect.go#L235: list.AppendEllipsis(diffStats{})
report_reflect.go#L268: list.AppendEllipsis(diffStats{})
report_slices.go#L391: maxGroup := diffStats{Name: name}
report_slices.go#L453: func coalesceAdjacentEdits(name string, es diff.EditScript) (groups []diffStats) {
report_slices.go#L455: lastStats := func(mode byte) *diffStats {
report_slices.go#L457: groups = append(groups, diffStats{Name: name})
report_slices.go#L509: func coalesceInterveningIdentical(groups []diffStats, windowSize int) []diffStats {
report_slices.go#L553: func cleanupSurroundingIdentical(groups []diffStats, eq func(i, j int) bool) []diffStats {
report_slices.go#L583: groups = append([]diffStats{{Name: groups[0].Name, NumIdentical: numLeadingIdentical}}, groups...)
report_slices.go#L599: groups = append(groups, diffStats{Name: groups[len(groups)-1].Name, NumIdentical: numTrailingIdentical})
report_slices.go#L608: groups[i] = diffStats{Name: ds.Name, NumRemoved: nx, NumInserted: ny}
report_text.go#L153: func (s *textList) AppendEllipsis(ds diffStats) {
report_text.go#L164: (*s)[len(*s)-1].Comment = (*s)[len(*s)-1].Comment.(diffStats).Append(ds)
report_text.go#L365: type diffStats struct {
report_text.go#L374: func (s diffStats) IsZero() bool {
report_text.go#L376: return s == diffStats{}
report_text.go#L379: func (s diffStats) NumDiff() int {
report_text.go#L383: func (s diffStats) Append(ds diffStats) diffStats {
report_text.go#L398: func (s diffStats) String() string {